package com.allen.study.common.constants;

import lombok.Getter;

/**
 * @ClassName: LeaveApplyConstants
 * @Author: AllenSun
 * @Date: 2025/4/23 23:27
 */
public class LeaveApplyConstants {
    public static String processDefinitionKey = "Process_apply_leave_plus2";
    // public static String processDefinitionKey = "Process_test1";
    public static String employeeId = "10086";
    public static String handoverPerson = "10087";
    public static String leaderId = "10088";
    public static String pmId = "10089";
    public static String supervisorId = "10090";
    public static String pocessInstanceId = "9847d4e4-f204-11ef-b5d1-dae82377ad1c";
    public static String bpmnName = "apply_leave_pro.bpmn";
    // bpmn文件路径
    public static String bpmnPath = "bpmn";

    @Getter
    public enum processTypeEnum {

        /**
         * 请假
         */
        APPLY_LEAVE(1,"apply_leave","apply_leave.bpmn","请假申请")

        ;



        private Integer code;
        private String alias;
        private String bpmnName;
        private String desc;


        processTypeEnum(Integer code,String alias,String bpmnName,String desc){
            this.code = code;
            this.alias = alias;
            this.bpmnName = bpmnName;
            this.desc = desc;
        }
    }
}
